-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added __HIP_PLATFORM_AMD__=1 for non JIT build #4585
Added __HIP_PLATFORM_AMD__=1 for non JIT build #4585
Conversation
@@ -614,6 +614,9 @@ def builder(self): | |||
if not self.build_for_cpu and self.enable_bf16: | |||
compile_args['cxx'].append("-DBF16_AVAILABLE") | |||
|
|||
if self.is_rocm_pytorch(): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR failure is not due to changes here, and we will get this merged as we get that other issue solved. |
Hi @loadams, is this PR ready to be merged? Thanks. |
Yes, we've identified a CI issue that's unrelated we are trying to fix, will have this merged right after that. |
This PR is required in addition to microsoft#4539 to define HIP_PLATFORM_AMD on ROCm. This is required for DeepSpeed non-JIT build. For JIT build we have microsoft#4570. This is required for DeepSpeed extensions build in those docker images with PyTorch built before pytorch/pytorch#111975. cc: @jeffdaily @jithunnair-amd Co-authored-by: Logan Adams <[email protected]>
This PR is required in addition to #4539 to define HIP_PLATFORM_AMD on ROCm.
This is required for DeepSpeed non-JIT build. For JIT build we have #4570.
This is required for DeepSpeed extensions build in those docker images with PyTorch built before pytorch/pytorch#111975.
cc: @jeffdaily @jithunnair-amd